﻿@model Guline.Web.Central.Models.RegisterModel
@{
    Layout = null;
    ViewBag.Title = "Guline~";
    Guline.Web.Central.Models.LoginModel loginmodel = new Guline.Web.Central.Models.LoginModel(); 
}
<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8" />

    <title>@ViewBag.Title</title>
    <script src="~/Scripts/jquery-1.8.2.min.js"></script>
    <script src="~/Scripts/jquery.validate.min.js"></script>
    <script src="~/Scripts/jquery.validate.unobtrusive.min.js"></script>
    <link rel="stylesheet" type="text/css" href="@Url.Content("~/Content/themes/gl/css/style.css")" />
    <style>
        .field-validation-error
        {
            color: red;
            font-size: 11px;
            font-weight: bold;
        }
    </style>
</head>
<body>
    <div class="l_header">
        <div class="l_header_content">
            <div class="l_logo">
                <img src="~/Content/themes/gl/images/logo.png" />
            </div>
            <div class="l_form_login">
                @Html.Partial("_GLoginPartial", loginmodel)
            </div>
        </div>
        <div class="clr"></div>
    </div>
    <div class="l_body">
        <div class="l_body_content">
            <div class="l_b_left">

                <div class="clr"></div>
            </div>
            <div class="l_b_right">
                <div class="l_label_register">
                    <div class="l_title_rigister">Đăng Ký</div>
                    <div class="l_logan">
                        Miễn phí và sẽ luôn như vậy.
                    </div>
                </div>

                <div class="l_register_box">
                    @using (Html.BeginForm("Index", "Home", FormMethod.Post))
                    { 
                       
                        @Html.TextBoxFor(m => m.FirstName, new { @class = "l_inputtext", placeholder = "Tên" })
                       
                        @Html.TextBoxFor(m => m.LastName, new { @class = "l_inputtext l_lastname", placeholder = "Họ" })
                        @Html.ValidationMessageFor(m => m.FirstName)
                        @Html.ValidationMessageFor(m => m.LastName)
                        <div class="clr"></div>
                        @Html.TextBoxFor(m => m.Email, new { @class = "l_inputtext l_inputtext_l", placeholder = "Email của bạn" })       
                        @Html.ValidationMessageFor(m => m.Email)
                        <div class="clr"></div>
                        @Html.TextBoxFor(m => m.ConfirmEmail, new { @class = "l_inputtext l_inputtext_l", placeholder = "Nhập lại Email" })       
                        @Html.ValidationMessageFor(m => m.ConfirmEmail)
                        <div class="clr"></div>
                        @Html.PasswordFor(m => m.Password, new { @class = "l_inputtext l_inputtext_l", placeholder = "Mật Khẩu Mới" })          
                        @Html.ValidationMessageFor(m => m.Password)
                        <div class="clr"></div>
                        <div class="l_label_birthday">Ngày Sinh</div>
                        @Html.DropDownList("Day", (SelectList)ViewBag.Day, new { @class = "l_se_day" })
                       
                    
                        @Html.DropDownList("Month", (SelectList)ViewBag.Month, new { @class = "l_se_month" })
                   
                      
                        @Html.DropDownList("Year", (SelectList)ViewBag.Year, new { @class = "l_se_year" })
                        @Html.ValidationMessageFor(m => m.Day)
                        @Html.ValidationMessageFor(m => m.Month)
                        @Html.ValidationMessageFor(m => m.Year)
                          
                        <div class="l_gender">
                            <span class="l_rad_gender">

                                <label class="_58mt">@Html.RadioButtonFor(m => m.Gender, true, new { id = "u_0_d" }) Nữ</label>
                            </span>
                            <span class="l_rad_gender">

                                <label class="_58mt">@Html.RadioButtonFor(m => m.Gender, false, new { id = "u_0_e" }) Nam</label>
                            </span>
                        </div>
                        <button type="submit" class="l_button_register" name="websubmit" id="u_0_i">Đăng Ký</button>
                        <div class="clr"></div>
                    }
                </div>

            </div>
            <div class="clr"></div>
        </div>

    </div>
</body>
</html>
